package com.itheima.tliasmanagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
public class AddEmpDto {
    private String username;
    private String name;
    private Integer gender;
    private String image;
    private Integer deptId;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate entryDate;
    private Integer job;
    private Integer salary;
    //todo 工作经历
    private List<AddEmpExprDto> exprList;
}
